package com.datang.petstore.generatemapper;

import com.datang.petstore.entity.MicroblogTransmitRecord;
import com.datang.petstore.entity.MicroblogTransmitRecordExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MicroblogTransmitRecordMapper {
    long countByExample(MicroblogTransmitRecordExample example);

    int deleteByExample(MicroblogTransmitRecordExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(MicroblogTransmitRecord record);

    int insertSelective(MicroblogTransmitRecord record);

    List<MicroblogTransmitRecord> selectByExample(MicroblogTransmitRecordExample example);

    MicroblogTransmitRecord selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") MicroblogTransmitRecord record, @Param("example") MicroblogTransmitRecordExample example);

    int updateByExample(@Param("record") MicroblogTransmitRecord record, @Param("example") MicroblogTransmitRecordExample example);

    int updateByPrimaryKeySelective(MicroblogTransmitRecord record);

    int updateByPrimaryKey(MicroblogTransmitRecord record);
}